package model;

public class Sale 
{
	private int id;
	private int day;
	private int month;
	private int year;
	public enum STATUS {RESERVED, SOLD, FREE};
	private STATUS status;
	private Employee emp;
	
	public Sale(int id, int day, int month, int year, STATUS stat, Employee emp) 
	{
		this.id = id;
		this.day = day;
		this.month = month;
		this.year = year;
		this.status = stat;
		this.emp = emp;
	}

	public int getId() 
	{
		return id;
	}

	public void setId(int id) 
	{
		this.id = id;
	}

	public int getDay() 
	{
		return day;
	}

	public void setDay(int day) 
	{
		this.day = day;
	}

	public int getMonth() 
	{
		return month;
	}

	public void setMonth(int month) 
	{
		this.month = month;
	}

	public int getYear() 
	{
		return year;
	}

	public void setYear(int year) 
	{
		this.year = year;
	}

	public STATUS getStatus() 
	{
		return status;
	}

	public void setStatus(STATUS status) 
	{
		this.status = status;
	}
	
	public Employee getEmployee()
	{
		return emp;
	}
}
